<:!:/><!--
/**
 * @file page.html
 * @author Alejandro Dario Simi
 * @date $Date: 2014-06-03 03:40:32 +0000 (Tue, 03 Jun 2014) $
 *
 * $Id: page.html 112 2014-06-03 03:40:32Z daemonraco@gmail.com $
 * $URL: http://wcomix.googlecode.com/svn/trunk/extensions/AutoTagger/autotagger/page.html $
 */
--><::/><script type="text/javascript">
	$(function(){
		if(typeof Skoll !== "undefined") {
			Skoll.actions.topbar.setPath("<:VAR:/>PATH<::/>");
			$("body").addClass("SkollAdminAction");
		}
		$("head").append('<script type="text/javascript" src="<:VAR:/>WC_E_AUTOTAGGER_script<::/>"></scri'+'pt>');
	});	
</script>

<form id="MultiTaggerForm" action="#" method="post" onsubmit="Skoll.tools.Loading.start();">
	<:OVER:list=directories:/><input name="original_<:VAR:/>id<::/>" type="hidden" value="<:OVER:list=tags:/><:VAR:/>name<::/>, <::/>"/>
	<::/>
	<div class="Title">Auto Tagger</div>
	<div class="Help">
		This form sets directories' automatic tags.<br/>
		<br/>
		Remember, if you leave an input empty, that directory won't be auto tagged. If you use a non existent tag, it will be ignored. These rules are applied by cron, this means you won't see changes immediately.<br/>
	</div>
	<:OVER:list=directories:/><div class="Fields">
		<div class="Field">
			<div class="Label"><:VAR:/>name<::/></div>
			<div class="Value"><input name="directory_<:VAR:/>id<::/>" type="text" value="<:OVER:list=tags:/><:VAR:/>name<::/>, <::/>" class="Skoll-autocomplete-tags"/></div>
			<div class="Description"><a class="AutoTaggerTooltip" id="AUX<:VAR:/>id<::/>" target="_blank" href="?action=autotagger:links&group=<:VAR:/>GROUP_ID<::/>&directory=<:VAR:/>id<::/>&nolayout">Current links</a></div>
		</div>
	</div>
	<::/>
	<div class="Buttons">
		<input type="submit" value="<:TR:/>button_save<::/>"/>
		<input type="reset"  value="<:TR:/>button_reset<::/>"/>
	</div>
</form>
